package com.iss.efi.service.impl;

import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONObject;
import com.iss.efi.dto.ResultDto;
import com.iss.efi.service.DataHandleService;
import com.iss.efi.service.Efi075Service;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service("blReceiveService")
public class BLReceiveService implements DataHandleService {

    @Resource
    private Efi075Service efi075Service;
    @Override
    public String handle(Object params) {

        ResultDto resultDto = efi075Service.receive((JSONObject) params);
        return JSON.toJSONString(resultDto);
    }
}
